﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[ObterListaJogadoresTrof]
	@UserID as numeric(5)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT 
	IDUser,
	UserLogin,
	NomeUtilizador,
	Email
	FROM Utilizadores	
	WHERE Utilizadores.IDUser <> @UserID
END